import { TagData } from "../entity/tag-data.model"
/**
 * 风场风电量计划
 *
 * @export
 * @class FarmPlantpower
 */
export class FarmPlantpower {
    /**
     * Creates an instance of Farm.
     * @param {number} farmId 风场ID
     * @param {string} farmName 风场ID
     * @param {string} plantType 计划类型
     * @param {object} datePlan 计划日期
     * @param {number} plantPower 计划电量
     * @param {TagData} completePower 完成电量
     * @param {number} adjustPower 校准电量
     *
     * @memberOf PlanPowerPanel
     */
    constructor(
        public plantPowerId: number,
        public farmId: number,
        public farmName: string,
        public plantType?: string,
        public datePlant?: string,
        public plantPower?: number,
        public adjustPower?: number,
        public powertype?: string,
        public completePower?: TagData,
        public isChecked?: boolean ,
    ) {
        Object.defineProperty(this, "isChecked", { enumerable: false });
        // Object.defineProperty(this, "farmName", { enumerable: false });
    }
}


interface FarmPlantpoweTotal {
    yearList: FarmPlantpower[],
    dayList: FarmPlantpower[],
    monthList: FarmPlantpower[],
}



// WEBPACK FOOTER //
// ./src/app/entity/farm-plant-power.model.ts